From: Kalyani Chidambaram Date: Fri, 14 Dec 2018 19:36:43 +0000 (-0800) Subject: Tegra: define CACHE_WRITEBACK_GRANULE for scatterfile X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=636fcb0ba578d0bde0cb348828651033607b6219;p=project%2Fbcm63xx%2Fatf.git Tegra: define CACHE_WRITEBACK_GRANULE for scatterfile The scatterfile to support armlink, does not seem to support shift operator. To handle this define CACHE_WRITEBACK_GRANULE with the direct value. Change-Id: I19afc7cb9c55a08cb0703f284d91018d3214353f Signed-off-by: Kalyani Chidambaram --- diff --git a/plat/nvidia/tegra/include/platform_def.h b/plat/nvidia/tegra/include/platform_def.h index 334ad129..106882ac 100644 --- a/plat/nvidia/tegra/include/platform_def.h +++ b/plat/nvidia/tegra/include/platform_def.h @@ -59,6 +59,6 @@ * integrated and external caches. ******************************************************************************/ #define CACHE_WRITEBACK_SHIFT 6 -#define CACHE_WRITEBACK_GRANULE (U(1) << CACHE_WRITEBACK_SHIFT) +#define CACHE_WRITEBACK_GRANULE (0x40) /* (U(1) << CACHE_WRITEBACK_SHIFT) */ #endif /* PLATFORM_DEF_H */